package com.lei.baweiliao.threadhelper;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @ProjectName : BaweiLiao
 * @Author : 雷金泷
 * @Time : 2021/1/14 10:41
 * @Description : 文件描述
 */
public class ThreadHelper {
    private static ThreadHelper instance = new ThreadHelper();
    private ExecutorService executors = Executors.newCachedThreadPool();

    public static ThreadHelper getInstance(){
        return instance;
    }
    public ExecutorService getExecutors(){
        return executors;
    }
}
